﻿@model IEnumerable<DomainModel.Entities.VehicleCategory>
@{
    ViewBag.Title = "Vehicle Categories";
}
<h2>@ViewBag.Title</h2>
<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            CategoryName
        </th>
        <th>
            الاسم في اللغة العربية
        </th>
        <th>
        </th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.Name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Name_Ar)
            </td>
            <td>
                @Html.ActionLink("Edit", "Edit", new { id = item.VehicleCategoryId }) |
                @Html.ActionLink("Details", "Details", new { id = item.VehicleCategoryId }) |
                @Html.ActionLink("Delete", "Delete", new { id = item.VehicleCategoryId })
            </td>
        </tr>
    }
</table>
